<html>
<head><meta charset="utf-8"><title>How to disable debuginfo tests? · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html">How to disable debuginfo tests?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208587022"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208587022" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208587022">(Aug 31 2020 at 17:03)</a>:</h4>
<p>I have a weird feeling that I've already asked this, but how do I disable debuginfo tests locally?  They all fail for me (presumably some nixos-specific failure mode), so I'd rather just not see them at all when <code>./x.py test</code></p>



<a name="208591166"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208591166" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208591166">(Aug 31 2020 at 17:41)</a>:</h4>
<p>--exclude src/test/debuginfo</p>



<a name="208591230"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208591230" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208591230">(Aug 31 2020 at 17:42)</a>:</h4>
<p>There's no way to put that in config.toml right now though</p>



<a name="208602093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208602093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208602093">(Aug 31 2020 at 19:07)</a>:</h4>
<p>Meta note to self: apparently this is a question better fit for <a class="stream" data-stream-id="182449" href="/#narrow/stream/182449-t-compiler.2Fhelp">#t-compiler/help</a> stream</p>



<a name="208608408"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208608408" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208608408">(Aug 31 2020 at 20:03)</a>:</h4>
<p>personally <code>x.py test</code> takes way too long for my patience so I never run it locally lol</p>



<a name="208608427"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208608427" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208608427">(Aug 31 2020 at 20:03)</a>:</h4>
<p>I let CI find out if I broke unrelated things, I always use <code>x.py test src/test/rustdoc*</code></p>



<a name="208608446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/How%20to%20disable%20debuginfo%20tests%3F/near/208608446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/How.20to.20disable.20debuginfo.20tests.3F.html#208608446">(Aug 31 2020 at 20:03)</a>:</h4>
<p>and sometimes even that takes too long and I filter with <code>--test-args intra-link</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>